import http from '@/utils/request'

export async function getLoginMenuInfoVo() {
  return await http.post("/api/getLoginMenuInfoVo")
}
export async function selectAllMenus(params) {
  return await http.post("/api/selectAllMenus",params)
}

export async function addMenu(param) {
  return await http.post("/api/addMenu",param)
}

export async function selectMenuXlk() {
  return await http.post("/api/selectMenuXlk")
}

export async function selectMenuTypeXlk() {
  return await http.post("/api/selectMenuTypeXlk")
}

export async function editMenu(params) {
  return await http.post("/api/editMenu",params)
}

export async function selectRolesByMeunId(params) {
  return await http.post("/api/selectRolesByMeunId",params)
}


export async function selectWSQRolesByMeunId(params) {
  return await http.post("/api/selectWSQRolesByMeunId",params)
}

export async function roleMenuEdit(params) {
  return await http.post("/api/roleMenuEdit",params)
}

export async function  deleteMenuRoles(params) {
  return await http.post("/api/deleteMenuRoles",params)
}
